CC      = g++

CFLAGS   = -O3 -Wall -fkeep-inline-functions -D NXP

INCPATH  = -I /usr/local/include

BINS     = -L /usr/local/lib -lavcodec -lavformat -lavutil -lswscale -L../lib -lLiveClient -lDecoder -pthread -lrt 
OBJECTS_DIR = ./
TARGET=libDecoder.so
all:
	$(CC) $(INCPATH) $(CFLAGS) -c -fsigned-char  main.cpp senddata.cpp
	$(CC) -o main main.o senddata.o $(BINS) 
	rm -rf *.o
	cp main ../bin
clean:
	rm -rf libDecoder.so *.o 
